﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for BaseMaster
/// </summary>
public class BaseMaster : System.Web.UI.MasterPage
{
    public tblCustomer LoginedMember
    {
        get
        {
            if (Session["LoginedMember"] != null)
                return (tblCustomer)Session["LoginedMember"];
            return new tblCustomer();
        }
        set
        {
            Session["LoginedMember"] = value;
        }
    }

    public bool isLogin()
    {
        if (Session["LoginedMember"] != null)
            return true;
        return false;
    }

	public BaseMaster()
	{
		
	}
}